package com.itcast.admin.domain.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel("分页查询套餐类型参数")
public class SetmealPagerResDTO implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "套餐名称")
    @TableField("setmeal_name")
    private String setmealName;

    @ApiModelProperty(value = "套餐价格")
    @TableField("setmeal_price")
    private BigDecimal setmealPrice;

    @ApiModelProperty(value = "套餐成本价")
    @TableField("setmeal_cost")
    private BigDecimal setmealCost;

    @ApiModelProperty(value = "套餐状态 0草稿 1启用 2 禁用")
    @TableField("setmeal_status")
    private Integer setmealStatus;

    @ApiModelProperty(value = "套餐性别 0不限 1男 2女")
    @TableField("setmeal_sex")
    private Integer setmealSex;

    @ApiModelProperty(value = "套餐类型id")
    @TableField("setmeal_category_id")
    private Integer setmealCategoryId;

    @ApiModelProperty(value = "套餐类型名称")
    @TableField("setmeal_category_name")
    private String setmealCategoryName;

    @ApiModelProperty(value = "适用人群 0不限 1中青年 2 中老年 3 儿童 4 孕妇")
    @TableField("target_consumer")
    private Integer targetConsumer;

    @ApiModelProperty(value = "套餐描述")
    @TableField("setmeal_description")
    private String setmealDescription;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

}
